//
//  EFBCryptoTest.m
//  EFBFrameworkProject
//
//  Created by chu-imac on 13-9-22.
//  Copyright (c) 2013年 ADCC. All rights reserved.
//

#import "EFBCryptoTest.h"
#import "EFBCrypto.h"

@implementation EFBCryptoTest


- (void)setUp
{
    [super setUp];
    
    // Set-up code here.
}

- (void)tearDown
{
    // Tear-down code here.
    
    [super tearDown];
}


- (void)testMD5Password
{
    //    STFail(@"Unit tests are not implemented yet in EFBFrameworkTests");
    NSString *string= @"123";
    NSString *md5String=@"0e423c2a2b38d9491f4ba681ba7272bf";
    NSAssert([md5String isEqualToString:[EFBCrypto MD5Password:string]],@"md5 password is incorrect !");

}



@end
